<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
    <link rel="stylesheet" href="../../assets/css/login.css">
    <style>
        html,body{
            height: 100%;
        }
        body{
            display: flex;
            justify-content: center;
            align-items: center;
			/* background-color: #FD482C; */
            background-image: url("../../assets/img/login_bg.jpg");
            /* background-size: cover; */
        }
    </style>
</head>
<body>
<div class="login-div">
    <h1>念创登录</h1>
    <form id="login-form" action="#">
        <div class="login-form-item">
            <input name="username" placeholder="用户名">
        </div>
        <div class="login-form-item">
            <input name="password" type="password" placeholder="密码">
        </div>
        <button class="btn-login" type="submit">登录</button>
    </form>
</div>
</body>
</html>
<script src="../js/jquery.min.js"></script>
<script src="../layui/layui.all.js"></script>
<script src="../js/common.js"></script>
<script>

    layuiModules=['layer','form'];

    function mounted(){
        $('#login-form').submit(function () {
            location.href="index.html";
            return false;
        })
    }

</script>